<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>群组信息表</title>
  <t:base type="ckfinder,ckeditor,jquery,easyui,tools,DatePicker"></t:base> 
  <script type="text/javascript" src="plug-in/ckeditor_new/ckeditor.js"></script>
  <script type="text/javascript" src="plug-in/ckfinder/ckfinder.js"></script> 
 </head>
 <body>
  <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="bnsGroupController.do?doAdd" tiptype="1">
					<input id="id" name="id" type="hidden" value="${bnsGroupPage.id }">
					<input id="createName" name="createName" type="hidden" value="${bnsGroupPage.createName }">
					<input id="createBy" name="createBy" type="hidden" value="${bnsGroupPage.createBy }">
					<input id="createDate" name="createDate" type="hidden" value="${bnsGroupPage.createDate }">
					<input id="updateName" name="updateName" type="hidden" value="${bnsGroupPage.updateName }">
					<input id="updateBy" name="updateBy" type="hidden" value="${bnsGroupPage.updateBy }">
					<input id="updateDate" name="updateDate" type="hidden" value="${bnsGroupPage.updateDate }">
					<input id="sysOrgCode" name="sysOrgCode" type="hidden" value="${bnsGroupPage.sysOrgCode }">
					<input id="sysCompanyCode" name="sysCompanyCode" type="hidden" value="${bnsGroupPage.sysCompanyCode }">
		<table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
				<tr>
					<td align="right">
						<label class="Validform_label">
							所属群组:
						</label>
					</td>
					<td class="value">
							<t:comboTree url="bnsGroupClassController.do?getChildren" name="groupClassId" id="groupClassId" ></t:comboTree> 
					     	<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">所属群组</label>
						</td>
					</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							群组名称:
						</label>
					</td>
					<td class="value">
					     	 <input id="groupName" name="groupName" type="text" style="width: 350px" class="inputxt"  datatype="*">
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">群组名称</label>
						</td>
					</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							群组简介:
						</label>
					</td>
					<td class="value"> 
					      	<t:ckeditor name="groupMemo" isfinder="true" value="" type="width:700"></t:ckeditor>
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">群组简介</label>
						</td>
					</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							群主:
						</label>
					</td>
					<td class="value"> 
							<input name="userId" type="hidden" id="userId" class="inputxt"> 
							<input name="userName" id="userName" class="inputxt" readonly="readonly" datatype="*" />
					     	 <a id="btnSel" class="easyui-linkbutton l-btn l-btn-plain" style="border:0px;"
					     	 icon="icon-search" href="javascript:showMbSel()">选择</a>
		     	  			
					     	 <input id="groupLeaderId" name="groupLeaderId" type="hidden" style="width: 150px" class="inputxt" >
					     	 <input id="groupLeader" name="groupLeader" type="hidden" style="width: 150px" class="inputxt" >
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">群主</label>
						</td>
					</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							帖子数量:
						</label>
					</td>
					<td class="value">
					     	 <input id="articleAccount" name="articleAccount" type="text" style="width: 150px" class="inputxt"  datatype="n">
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">帖子数量</label>
						</td>
					</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							成员数量:
						</label>
					</td>
					<td class="value">
					     	 <input id="memberAccount" name="memberAccount" type="text" style="width: 150px" class="inputxt"  datatype="n">
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">成员数量</label>
						</td>
				<tr>
					<td align="right">
						<label class="Validform_label">
							群组积分:
						</label>
					</td>
					<td class="value">
					     	 <input id="groupIntegral" name="groupIntegral" type="text" style="width: 150px" class="inputxt"  datatype="n">
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">群组积分</label>
						</td>
					</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							是否推荐:
						</label>
					</td>
					<td class="value">
							  <t:dictSelect field="isRecommend" type="radio"
									typeGroupCode="ysno" defaultVal="${bnsGroupPage.isRecommend}" hasLabel="false"  title="是否推荐"></t:dictSelect>     
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">是否推荐</label>
						</td>
					</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							加入方式:
						</label>
					</td>
					<td class="value">
							  <t:dictSelect field="addType" type="list"
									typeGroupCode="groupaddtp" defaultVal="${bnsGroupPage.addType}" hasLabel="false"  title="加入方式"></t:dictSelect>     
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">加入方式</label>
						</td>
					</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							阅读方式:
						</label>
					</td>
					<td class="value">
							  <t:dictSelect field="viewType" type="list"
									typeGroupCode="view_type" defaultVal="${bnsGroupPage.viewType}" hasLabel="false"  title="阅读方式"></t:dictSelect>     
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">阅读方式</label>
						</td>
					</tr>
			</table>
		</t:formvalid>
 </body>
  <script src = "webpage/com/buss/group/bnsGroup.js"></script>	 